package cn.hou.java.designpattern._05decorator;

//具体装饰类
public class SwimCarDecorator extends CarDecorator {

	public SwimCarDecorator(Car car) {
		super(car);
	}

	@Override
	public void show() {
		this.car.show();
		this.swim();
	}
	
	public void swim(){
		System.out.println("可以游泳");
	}
}
